package com.hospital.wx.controller.form;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@Schema(description = "获取点赞ID表单")
public class GetLikeIdForm {

    @NotNull(message = "用户ID不能为空")
    private int patientUserId;

    @NotNull(message = "目标ID不能为空")
    private int targetId;

    @NotBlank(message = "点赞类型不能为空")
    @Schema(description = "点赞类型，有两类", example = "comment")
    private String targetType;
}
